# -*- coding:utf-8 -*-
class Solution:
    def Sum_Solution(self, n):
        # write code here

        return n and self.Sum_Solution(n-1) + n# 以0为最基本的条件